/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ylystudio.pms.ejb.facade;

import com.ylystudio.pms.ejb.facade.remote.KnowledgeTitleItemFacadeRemote;
import com.ylystudio.pms.ejb.entity.KnowledgeTitleItem;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Kenny Lin
 */
@Stateless
public class KnowledgeTitleItemFacade extends AbstractFacade<KnowledgeTitleItem> implements KnowledgeTitleItemFacadeRemote {
    @PersistenceContext(unitName = "YLYStudio-PMS-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public KnowledgeTitleItemFacade() {
        super(KnowledgeTitleItem.class);
    }

}
